# 列表 [] 直接定义
a = 10
myList = ['hello', 'word', 90]
print(id(myList))
print(type(myList))
print(myList)

# 调用内置的函数
print(list(myList))
print(list(['1', 2, 3.0]))

# 通过表达式创建
myList = [i ** 2 for i in range(1, 10 + 1)]
print(myList)
